package com.schematic.flixel.donquicoco
{
/**
 * Describes a particular type of floor type
 */
public class FloorTile
{
    //--------------------------------------------------------------------------
    //
    //  Constants
    //
    //--------------------------------------------------------------------------
    
    //----------------------------------
    //  TILE_LIST
    //----------------------------------
    /**
     * The list of all possible tile types and their depth values
     */
    public static const TILE_LIST:Array = 
    [
        null,
        new FloorTile(1, 10),
        new FloorTile(2,8),
        new FloorTile(3,6),
        new FloorTile(4,4),
        new FloorTile(5,2),
        new FloorTile(6,0),
        new FloorTile(7,-2),
        null,
        new FloorTile(9,16),
        new FloorTile(10,14),
        new FloorTile(11,12)
    ];

    //--------------------------------------------------------------------------
    //
    // Constructor
    //
    //--------------------------------------------------------------------------

    /**
     * Creates a new <code>FloorTile</code> instance.
     */
    public function FloorTile(id:uint, depth:int)
    {
        this.id = id;
        this.depth = depth;
    }
    
    //--------------------------------------------------------------------------
    //
    //  Properties
    //
    //--------------------------------------------------------------------------

    //----------------------------------
    // id
    //----------------------------------
    /**
     * The id for this tile type.
     */
    public var id:uint;
   
    //----------------------------------
    // depth
    //----------------------------------
    /**
     * The floor depth for this tile.
     */
    public var depth:int;
      
}
}